This page last changed on Sep 28, 2009 by brian.

Getting started

Set up

To build VARS you will need to have the following installed:

  1. Java 5 or later
  2. QuickTime for Java
  3. Maven

Get the source

To get started check out the source code for VARS:

Edit some files

Since I didn't want MBARI passwords checked into an open source code repository , you will need to modify to files.

  1. Open vars-deploy/vars-conf/src/main/filters/shore.properties and change the JDBC_PASSWORD property to vars4mbari
  2. Open vars-deploy/vars-jnlp/build.xml and the existing configuration properties with

    <property name="keystore.alias" value="MBARIjava" />
    <property name="keystore.passwd" value="java1700" />
    <property name="key.password" value="javaBeansMakeLousyCoffee" />
    <property name="keystore" value="http://anvil.shore.mbari.org/java_keystore/keystore.bin" />

For the brave..

Optionally, you may want to check out the source for the closely related projects VCR4J, QTX4J and MBARIX4J. The compiled jars should be available from MBARI's Maven repository at http://oceana.shore.mbari.org/maven2. You do not need to fetch these jars, the build file will do it for you. The only reason to check out these projects is if you need make modications to them.

svn co http://vcr4j.googlecode.com/svn/trunk/ vcr4j
svn co http://qtx4j.googlecode.com/svn/trunk/ qtx4j
svn co svn+ssh://kahuna.shore.mbari.org/svn/repos/mbarix4j/trunk mbarix4j

Building

How to build

Change to the vars directory and test the build using the following:

mvn clean install -P test

The environment variable specifes what deployment location you are targetting. Current values are:

  1. eits for Eye-in-the-sea
  2. pl for Point Lobos deployment
  3. shore for the main on-shore deployment
  4. test for deploying against the testing database server Fog
  5. varspub for the deploying the public query
  6. wf for Western Flyer deployment

What build makes

  1. All the VARS dependencies
  2. A standalone application in a zip file in vars-deploy/vars-app/target/vars-app-VERSION-standalone.zip
  3. A JNLP application web site in vars-deploy/vars-jnlp/target/site
Document generated by Confluence on Feb 03, 2026 12:59